<!DOCTYPE html>
<html lang="en" class="js no-touch cssanimations csscolumns cssgradients cssreflections csstransforms csstransforms3d csstransitions generatedcontent nivo-lightbox-notouch" data-find="_5">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta charset="UTF-8">
<meta name="description" content="吃瓜讲堂APP分享页">
<meta name="keywords" content="汽车金融,吃瓜APP,吃瓜将堂,汽车平台,知识平台,汽车">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<link rel="shortcut icon" href="./img/logo.png" />
<title>吃瓜讲堂APP</title>
<link href="http://cdn.bootcss.com/bootstrap/3.2.0/css/bootstrap.min.css" rel="stylesheet">
<link href="./css/style.css" rel="stylesheet">
<script src="https://cdn.bootcss.com/jquery/1.12.4/jquery.min.js"></script>
</head>
<body id="page-top" data-spy="scroll" data-target=".navbar-custom" data-find="_4">

       <section id="intro" class="parallaxBg" style="padding-bottom: 50px;"> 
                <div class="container"> 
                    <div class="row">
                        <!-- left-intro --> 
                        <div class="col-md-6 left-intro wow fadeInLeft animated animated animated" data-wow-offset="10" data-wow-duration="1s" style="visibility: visible; animation: fadeInLeft 1s;">
                            <img class="logo" alt="logo" src="./img/logo.png" title="mix">
                            <h4> 专业的汽车金融知识平台 </h4>
                            <p></p>
                            <div> 
                                <a style="width: 120px;" class="page-scroll btn-new" href="javascript:;" id="aDownload">
                                    	Android
                                </a>
                                <a style="width: 120px;" class="btn-new page-scroll" href="https://itunes.apple.com/us/app/吃瓜/id1255481927?l=zh&ls=1&mt=8">
                                  IOS
                                </a> 
                            </div>
                        </div>
                        <div class="col-md-6">
                            <div class="mobileBg pull-right wow fadeInRight animated animated animated" data-wow-offset="10" data-wow-duration="1s" style="visibility: visible; animation: fadeInRight 1s;">
                                <img class="img-responsive" src="./img/phone.png" alt="app">
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </section>
</body>
<script>
	
	(function (doc, win) {
        var docEl = doc.documentElement,
            resizeEvt = 'orientationchange' in window ? 'orientationchange' : 'resize',
            recalc = function () {
                var clientWidth = docEl.clientWidth;
                if (!clientWidth) return;
                if(clientWidth>=750){
                    docEl.style.fontSize = '100px';
                }else{
                    docEl.style.fontSize = 100 * (clientWidth / 750) + 'px';
                }
            };

        if (!doc.addEventListener) return;
        win.addEventListener(resizeEvt, recalc, false);
        doc.addEventListener('DOMContentLoaded', recalc, false);
    })(document, window);
	
	function removeThis(n){
		n.remove();
	}
	
	function info(){
		return '<div onclick="removeThis(this)" style="height:100%;width:100%;background-color:rgba(0,0,0,0.9);position:absolute;z-index:999">'+
					'<img src="zhe.png" style="width:5.28rem;height:3.75rem;position:absolute;top:0.2rem;right:0;">'+
				'</div>';
	}
	
	
	function isWeiXin() {
		var ua = window.navigator.userAgent.toLowerCase();
		//alert(ua.indexOf('acaaa'));
		if (ua.match(/MicroMessenger/i) == 'micromessenger') {
			return true;
		} else {
			return false;
		}
	}
	
	function isQQ(){
		var ua = window.navigator.userAgent.toLowerCase();
		if(ua.indexOf('qq')!=-1&&ua.indexOf('mobile')!=-1){
			return true;
		}else{
			return false;
		}
	}
	$(function(){
		$('#aDownload').click(function(){
			if(isWeiXin()||isQQ()){
				$('#page-top').prepend(info());
			}else{
				window.location.href='http://chiguadata.oss-cn-shenzhen.aliyuncs.com/resource/apk/app-release.apk';
			}
		})

	})
</script>
</html>